<?php

use yii\helpers\Html;
use yii\bootstrap\ActiveForm;

/**
* @var yii\web\View $this
* @var yiike\store\merchant\models\GoodsSearch $model
* @var yii\widgets\ActiveForm $form
*/
?>
<div class="box box-info goods-search">
    <div class="box-header">
        <div class="box-title">筛选</div>
    </div>
    <div class="box-body">
        <?php $form = ActiveForm::begin([
            'action' => ['index'],
            'method' => 'get',
            'layout' => 'horizontal',
            'options' => ['class' => 'form-horizontal']
        ]); ?>
        <div class="row">
            <div class="col-lg-4">
                <?php echo $form->field($model, 'goods_sn')->hint('') ?>
                <?= $form->field($model, 'title')->hint('') ?>
                <?= $form->field($model, 'status')->dropDownList($model->status_option)->hint('') ?>
                <div class=" col-lg-offset-4">
                    <div class="form-group">
                        <?= Html::submitButton('筛选', ['class' => 'btn btn-primary']) ?>
                        <?= Html::a('重置', \yii\helpers\Url::to('index'), ['class' => 'btn btn-default']) ?>
                    </div>
                </div>
            </div>

        </div>




		<?php // echo $form->field($model, 'ccid') ?>

		<?php // echo $form->field($model, 'tag') ?>

		<?php // echo $form->field($model, 'sale_time_start') ?>

		<?php // echo $form->field($model, 'sale_time_end') ?>


    <?php ActiveForm::end(); ?>
    </div>
</div>
